/**
 * 文件名称:  TCrmBaseLostDetailEntity.java
 * 文件序号:  序号
 * 内容描述:  文件简单描述，多行换行书写
 * 版权声明:  山东鸿蝶信息技术有限公司
 * 创建用户:  zhangkai
 * 创建日期:  2017/2/25 13:54
 * 修改用户:  无
 * 修改日期:  无
 * 修改说明:  无
 * 文件版本:  V1.0
 * 文件路径:
 */

package com.hongdee.crm.base.entity;


import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:TCrmBaseLostDeatil
 * 类  型: class
 * 描  述: 基盘车辆流失明细
 * 路  径:com.hongdee.crm.base.entity
 * 作  者:zhangkai
 * 日  期:2017/2/25 13:54
 */
@Entity
@Table(name = "T_CRM_CAR_LOST_DETAIL")
public class TCrmBaseLostDetailEntity extends BaseEntity {

    //车架号
    @Column(name = "vin", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车架号'")
    private String vin;

    //车牌号
    @Column(name = "plate_num", length = 32, columnDefinition = "VARCHAR(32) COMMENT '车牌号'")
    private String plateNum;

    //流失开始日期
    @Column(name = "start_date", length = 22, columnDefinition = "BIGINT COMMENT '流失开始日期'")
    private Long startDate;

    //流失结束日期
    @Column(name = "end_date", length = 22, columnDefinition = "BIGINT COMMENT '流失结束日期'")
    private Long endDate;

    //车辆 ID
    @Column(name = "car_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT ' 车辆 ID '")
    private String carId;

    //流失车辆所属公司
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '所属公司ID'")
    private String companyId;

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }


    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public Long getStartDate() {
        return startDate;
    }

    public void setStartDate(Long startDate) {
        this.startDate = startDate;
    }

    public Long getEndDate() {
        return endDate;
    }

    public void setEndDate(Long endDate) {
        this.endDate = endDate;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }
}
